package com.tanhua.model.mongo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "soul_recommend")
public class SoulRecommend implements Serializable {

    private ObjectId id; //主键id
    private Long userId; //用户id
    private String level; //题型
    private Integer averageScore; //分数
    private Integer recommendStar; //之前的星级
}
